package com.quanyan.place.entity.apireq;

import com.quanyan.BaseRequest;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by youxiaojia on 2016/8/23.
 */
public class ReqMemberCardType extends BaseRequest {
    private Integer id;
    @NotNull
    private Integer placeId;//场馆Id
    @NotNull
    private String name;//会员类型名称
    @NotNull
    private byte type;//会员类型
    @NotNull
    private BigDecimal initAmount;//初始充值

    private BigDecimal giveAmount;//赠送

    private Integer giveAmountIsUse;

    private Double discount = 100.00d;//折扣

    private Integer frequency;//次数
    @NotNull
    private List<Integer> categoryIds;//可用项目

    private Integer availableAll;//全时段

    private String availableStartTime;//指定时段

    private String availableEndTime;
    @NotNull
    private Integer availableTerm;//可用期限
    @NotNull
    private Byte status;//状态 可用 停用
    @NotNull
    private Integer createUid;//创建uid

    private String cardDesc;

    private Byte sourceType;

    private List<Integer> ticketIds;

    private Byte isSupportTickets;

    public List<Integer> getTicketIds() {
        return ticketIds;
    }

    public void setTicketIds(List<Integer> ticketIds) {
        this.ticketIds = ticketIds;
    }

    public String getCardDesc() {
        return cardDesc;
    }

    public void setCardDesc(String cardDesc) {
        this.cardDesc = cardDesc;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getCreateUid() {
        return createUid;
    }

    public void setCreateUid(Integer createUid) {
        this.createUid = createUid;
    }

    public byte getType() {
        return type;
    }

    public void setType(byte type) {
        this.type = type;
    }

    public BigDecimal getInitAmount() {
        return initAmount;
    }

    public void setInitAmount(BigDecimal initAmount) {
        this.initAmount = initAmount;
    }

    public BigDecimal getGiveAmount() {
        return giveAmount;
    }

    public void setGiveAmount(BigDecimal giveAmount) {
        this.giveAmount = giveAmount;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public List<Integer> getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(List<Integer> categoryIds) {
        this.categoryIds = categoryIds;
    }

    public Integer getAvailableAll() {
        return availableAll;
    }

    public void setAvailableAll(Integer availableAll) {
        this.availableAll = availableAll;
    }

    public String getAvailableStartTime() {
        return availableStartTime;
    }

    public void setAvailableStartTime(String availableStartTime) {
        this.availableStartTime = availableStartTime;
    }

    public String getAvailableEndTime() {
        return availableEndTime;
    }

    public void setAvailableEndTime(String availableEndTime) {
        this.availableEndTime = availableEndTime;
    }

    public Integer getAvailableTerm() {
        return availableTerm;
    }

    public void setAvailableTerm(Integer availableTerm) {
        this.availableTerm = availableTerm;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Byte getSourceType() {
        return sourceType;
    }

    public void setSourceType(Byte sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getGiveAmountIsUse() {
        return giveAmountIsUse;
    }

    public void setGiveAmountIsUse(Integer giveAmountIsUse) {
        this.giveAmountIsUse = giveAmountIsUse;
    }

    public Byte getIsSupportTickets() {
        return isSupportTickets;
    }

    public void setIsSupportTickets(Byte isSupportTickets) {
        this.isSupportTickets = isSupportTickets;
    }
}
